Update documentation: max_queue exists in threading implementation #1665
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Fixes the documentation in "Memory and Buffers" topic page which incorrectly stated that
max_queue
doesn't exist in the threading implementation.Issue
The documentation stated:
However, the threading (sync) implementation does have the
max_queue
argument and it works the same way as in the new asyncio implementation.Changes
Updated
docs/topics/memory.rst
to correctly document that:max_queue
argument exists in the threading implementationContext
As noted by @aaugustin in the issue,
max_queue
wasn't in the initial version of the threading implementation but was added later as a performance optimization. The documentation was never updated to reflect this change.Closes #1544
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
django-sesame.readthedocs.io
/usr/bin/python3 /home/REDACTED/.local/bin/sphinx-build -M html . _build
(dns block)docs.python.org
/usr/bin/python3 /home/REDACTED/.local/bin/sphinx-build -M html . _build
(dns block)werkzeug.palletsprojects.com
/usr/bin/python3 /home/REDACTED/.local/bin/sphinx-build -M html . _build
(dns block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
Fixes #1664
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.